/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.repository;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.shanhesoft.java.common.persistence.repository.BaseRepository;
import com.shanhesoft.java.modules.exam.domain.Course;
import com.shanhesoft.java.modules.exam.domain.vo.CourseVo;

import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 课程管理Repository 课程管理
 * @author admin
 * @version 2020-09-23 19:34:44
 */
public interface CourseRepository extends BaseRepository<Course> {
	CourseVo findCourseVoById(String id);
	IPage<CourseVo> findCourseVoPage(IPage page, @Param(Constants.WRAPPER) Wrapper<Course> wrapper);

}
